package com.jy.adscm.wechat.bean;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyl
 * @since 2019-09-24
 */
public class ShCustomerInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 浆站名称
     */
    private String name;
    /**
     * 浆站地址
     */
    private String address;
    /**
     * 联系人
     */
    private String linkman;
    /**
     * 联系人电话
     */
    private String linkmanPhone;
    /**
     * 护士长
     */
    private String headNurse;
    /**
     * 护士长联系方式
     */
    private String headNursePhone;
    /**
     * 工商编号
     */
    private String gsCode;
    /**
     * 税务编号
     */
    private String taxCode;
    /**
     * 经度
     */
    private String longitude;
    /**
     * 纬度
     */
    private String latitude;
    /**
     * 交通方式
     */
    private String transport;
    private Integer distance;
    private String creator;
    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public String getLinkmanPhone() {
        return linkmanPhone;
    }

    public void setLinkmanPhone(String linkmanPhone) {
        this.linkmanPhone = linkmanPhone;
    }

    public String getHeadNurse() {
        return headNurse;
    }

    public void setHeadNurse(String headNurse) {
        this.headNurse = headNurse;
    }

    public String getHeadNursePhone() {
        return headNursePhone;
    }

    public void setHeadNursePhone(String headNursePhone) {
        this.headNursePhone = headNursePhone;
    }

    public String getGsCode() {
        return gsCode;
    }

    public void setGsCode(String gsCode) {
        this.gsCode = gsCode;
    }

    public String getTaxCode() {
        return taxCode;
    }

    public void setTaxCode(String taxCode) {
        this.taxCode = taxCode;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getTransport() {
        return transport;
    }

    public void setTransport(String transport) {
        this.transport = transport;
    }

    public Integer getDistance() {
        return distance;
    }

    public void setDistance(Integer distance) {
        this.distance = distance;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreateTime() {
        return createTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "ShCustomerInfo{" +
        "id=" + id +
        ", name=" + name +
        ", address=" + address +
        ", linkman=" + linkman +
        ", linkmanPhone=" + linkmanPhone +
        ", headNurse=" + headNurse +
        ", headNursePhone=" + headNursePhone +
        ", gsCode=" + gsCode +
        ", taxCode=" + taxCode +
        ", longitude=" + longitude +
        ", latitude=" + latitude +
        ", transport=" + transport +
        ", distance=" + distance +
        ", creator=" + creator +
        ", createTime=" + createTime +
        "}";
    }
}
